Hi Marty,
We are cutting good multipass threads via a KFlop User C Program. See the email and video from a User below.
So currently it is possible to do threading performed by KFlop triggered by an M command in either Mach3 or KMotionCNC. But we are just beginning to properly integrate it with Mach3 or KMotionCNC.
Here is a plot of captured data showing how the Lathe Carriage accelerates and synchronizes with the desired spindle position. This data was captured with a spindle speed of ~360rpm and cutting a 5mm pitch thread. The plot's horizontal axis is time (seconds), the vertical axis is z encoder counts (400cnts/mm), green is the z axis, purple is the desired z position based on spindle position.
It would be nice if others could test.
TK
Hi Tom, Yesterday's exercise was very pleasing. The results are excellent and I have posted a short video a thread that I cut after our initial tests. I altered the figures, as you suggested, and the result is a 1.5mm pitch thread on the nylon rod. I also did a 1.75mm pitch. Both are excellent - lead-in is spot on. The threading video is the last one. http://www.kumeu.co.nz/hankooklathe/I will get to posting on the forum :)
| Group: DynoMotion |
Message: 549 |
From: Marty Escarcega |
Date: 8/9/2010 |
| Subject: Re: Single point threading on the lathe |
Thanks Tom. That helps. How would one test? Do you have a beta
version of the software enabled for threading G codes?
To use your hardware does one have to be versed in programming
in C? (I am not)
Marty
From:
DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of Tom
Kerekes
Sent: Monday, August 09, 2010 12:38 PM
To: DynoMotion@yahoogroups.com
Subject: Re: [DynoMotion] Single point threading on the lathe
We
are cutting good multipass threads via a KFlop User C Program. See the
email and video from a User below.
So
currently it is possible to do threading performed by KFlop triggered by an M
command in either Mach3 or KMotionCNC. But we are just beginning to
properly integrate it with Mach3 or KMotionCNC.
Here
is a plot of captured data showing how the Lathe Carriage accelerates and
synchronizes with the desired spindle position. This data was captured
with a spindle speed of ~360rpm and cutting a 5mm pitch thread. The
plot's horizontal axis is time (seconds), the vertical axis is z encoder
counts (400cnts/mm), green is the z axis, purple is the desired z position
based on spindle position.
It
would be nice if others could test.
Hi
Tom,
Yesterday's exercise was
very pleasing.
The results are excellent
and I have posted a short video a thread that I cut after our initial tests.
I altered the figures, as
you suggested, and the result is a 1.5mm pitch thread on the nylon rod.
I also did a 1.75mm pitch.
Both are excellent - lead-in
is spot on.
The threading video is the
last one.
http://www.kumeu.co.nz/hankooklathe/
I will get to posting on the
forum :)
From: Marty Escarcega
<escarcega@...>
To: DynoMotion@yahoogroups.com
Sent: Mon, August 9, 2010 11:32:15 AM
Subject: [DynoMotion] Single point threading on the lathe
How close are you to implementing single point threading on the lathe?
Either with your software or ultimately the Mach III plug in.
Thank you!.
Marty
|
|
| Group: DynoMotion |
Message: 550 |
From: Tom Kerekes |
Date: 8/10/2010 |
| Subject: Re: Single point threading on the lathe |
Hi Marty,
Not yet. I recently discovered that Mach3 implements G76 as a macro called M1076.m1s that in turn uses G32. So it seems we just need to implement G32.
Yes to use our controller you must be able to modify a C program. You don't need to be a C programming expert, but you should be able to read the code and have a vague idea of what it going on to make minor changes.
For example, the program link below is a C program that does the threading motion. You would likely need to change the "Zend" to move other than 50mm or the "Rate" to be other than 5mm pitch
double Zstart = 0; double Zend = 50.0*ZRES; double Rate = 5.0*ZRES; // counts/rev
Regards
TK
| Group: DynoMotion |
Message: 551 |
From: Ross Ferguson |
Date: 8/10/2010 |
| Subject: Re: Single point threading on the lathe |
Hi Tom,
In that C program, that you mention, is there a lefthand and
righthand threading option?
And to achieve that do we just change the Zend to a positive or
negative?
Ross
On 11/08/2010 4:59 AM, Tom Kerekes wrote:
Hi Marty,
Not yet. I recently discovered that Mach3 implements
G76 as a macro called M1076.m1s that in turn uses G32.
So it seems we just need to implement G32.
Yes to use our controller you must be able to modify
a C program. You don't need to be a C programming
expert, but you should be able to read the code and have
a vague idea of what it going on to make minor changes.
For example, the program link below is a C program
that does the threading motion. You would likely need
to change the "Zend" to move other than 50mm or the
"Rate" to be other than 5mm pitch
double Zstart = 0;
double Zend = 50.0*ZRES;
double Rate = 5.0*ZRES;
// counts/rev
Regards
TK
| Group: DynoMotion |
Message: 553 |
From: Tom Kerekes |
Date: 8/10/2010 |
| Subject: Re: Single point threading on the lathe |
Hi Ross,
That could have been written better. I think you need to change the Zend, the rate, one "if" statement.
such as:
double Zstart = 0; double Zend = -50.0*ZRES; double Rate = -5.0*ZRES; // counts/rev
if (y > 0.0) y=0.0;
TK
| Group: DynoMotion |
Message: 561 |
From: Ross Ferguson |
Date: 8/10/2010 |
| Subject: Re: Single point threading on the lathe |
Thanks Tom,
I can almost wrap my head around the first part, and make some sense of it.
But could you explain the "if" section please?
Ross
On 11/08/2010 8:29 a.m., Tom Kerekes wrote:
> Hi Ross,
> That could have been written better. I think you need to change the
> Zend, the rate, one "if" statement.
> such as:
> double Zstart = 0;
> double Zend = -50.0*ZRES;
> double Rate = -5.0*ZRES; // counts/rev
> if (y > 0.0) y=0.0;
> TK
>
>
> ------------------------------------------------------------------------
> *From:* Ross Ferguson <ferman@...>
> *To:* DynoMotion@yahoogroups.com
> *Sent:* Tue, August 10, 2010 12:00:51 PM
> *Subject:* Re: [DynoMotion] Single point threading on the lathe
>
> Hi Tom,
> In that C program, that you mention, is there a lefthand and righthand
> threading option?
> And to achieve that do we just change the Zend to a positive or negative?
>
> Ross
>
> On 11/08/2010 4:59 AM, Tom Kerekes wrote:
>
>> Hi Marty,
>> Not yet. I recently discovered that Mach3 implements G76 as a macro
>> called M1076.m1s that in turn uses G32. So it seems we just need to
>> implement G32.
>> Yes to use our controller you must be able to modify a C program.
>> You don't need to be a C programming expert, but you should be able
>> to read the code and have a vague idea of what it going on to make
>> minor changes.
>> For example, the program link below is a C program that does the
>> threading motion. You would likely need to change the "Zend" to
>> move other than 50mm or the "Rate" to be other than 5mm pitch
>> double Zstart = 0;
>> double Zend = 50.0*ZRES;
>> double Rate = 5.0*ZRES; // counts/rev
>> http://www.dynomoti on.com/Software/ Thread/MoveZDist
>> PerRevCaptureVer 2.c
>> <http://www.dynomotion.com/Software/Thread/MoveZDistPerRevCaptureVer2.c>
>> Regards
>> TK
>>
>> ------------------------------------------------------------------------
>> *From:* Marty Escarcega <escarcega@cox. net>
>> *To:* DynoMotion@yahoogro ups.com <http://ups.com/>
>> *Sent:* Mon, August 9, 2010 7:36:49 PM
>> *Subject:* RE: [DynoMotion] Single point threading on the lathe
>>
>> Thanks Tom. That helps. How would one test? Do you have a beta
>> version of the software enabled for threading G codes?
>>
>> To use your hardware does one have to be versed in programming in C?
>> (I am not)
>>
>> Marty
>>
>> *From:* DynoMotion@yahoogro ups.com <http://ups.com/>
>> [mailto:DynoMotion@ yahoogroups. com] *On Behalf Of *Tom Kerekes
>> *Sent:* Monday, August 09, 2010 12:38 PM
>> *To:* DynoMotion@yahoogro ups.com
>> *Subject:* Re: [DynoMotion] Single point threading on the lathe
>>
>>
>>
>>
>> Hi Marty,
>>
>> We are cutting good multipass threads via a KFlop User C Program.
>> See the email and video from a User below.
>>
>> So currently it is possible to do threading performed by KFlop
>> triggered by an M command in either Mach3 or KMotionCNC. But we are
>> just beginning to properly integrate it with Mach3 or KMotionCNC.
>>
>> Here is a plot of captured data showing how the Lathe Carriage
>> accelerates and synchronizes with the desired spindle position. This
>> data was captured with a spindle speed of ~360rpm and cutting a 5mm
>> pitch thread. The plot's horizontal axis is time (seconds), the
>> vertical axis is z encoder counts (400cnts/mm) , green is the z axis,
>> purple is the desired z position based on spindle position.
>>
>> http://dynomotion. com/Software/ Thread/thread. png
>> <http://dynomotion.com/Software/Thread/thread.png>
>>
>> It would be nice if others could test.
>>
>> TK
>>
>> /Hi Tom,//
>> /Yesterday's exercise was very pleasing./
>> /The results are excellent and I have posted a short video a thread
>> that I cut after our initial tests./
>> /I altered the figures, as you suggested, and the result is a 1.5mm
>> pitch thread on the nylon rod./
>> /I also did a 1.75mm pitch./
>> /Both are excellent - lead-in is spot on./
>> /The threading video is the last one./
>> //http://www.kumeu. co.nz/hankooklat he//
>> <http://www.kumeu.co.nz/hankooklathe/>
>> /I will get to posting on the forum :)/
>>
>>
>> ------------------------------------------------------------------------
>>
>> *From:* Marty Escarcega <escarcega@cox. net>
>> *To:* DynoMotion@yahoogro ups.com
>> *Sent:* Mon, August 9, 2010 11:32:15 AM
>> *Subject:* [DynoMotion] Single point threading on the lathe
>>
>> How close are you to implementing single point threading on the
>> lathe? Either with your software or ultimately the Mach III plug in.
>> Thank you!.
>> Marty
>>
>>
>>
>>
>
> --
> Ferguson Windmills Company
> 835 Old North Road,
> R.D.2, Waimauku,
> New Zealand. 0882
> Ph 64 9 411 8332 Mobile 027 282 7689
> Fax 64 9 412 8655
> E-mail -ferman@windmills. co.nz
> http://www.windmills.co.nz
>
--
Ferguson Windmills Company,
www.windmills.co.nz
Ph. 64 9 412 8655
027 282 7689
|
|
| Group: DynoMotion |
Message: 562 |
From: Tom Kerekes |
Date: 8/10/2010 |
| Subject: Re: Single point threading on the lathe |
Ross,
look for the line like this
if (y < 0.0) y=0.0;
change it to
if (y > 0.0) y=0.0;
TK
| Group: DynoMotion |
Message: 573 |
From: Marty Escarcega |
Date: 8/11/2010 |
| Subject: Re: Single point threading on the lathe |
Tom, to modify the C program do you need a compiler? Excuse my
ignorance, I’m not familiar with it. I can edit config files with a text editor….just
trying to understand what I’m getting into.
I don’t mind running your software to control my lathe, but I
don’t want to have to edit files when I want to change the pitch of the
threads?
Thanks
Marty
From:
DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of Tom
Kerekes
Sent: Tuesday, August 10, 2010 9:59 AM
To: DynoMotion@yahoogroups.com
Subject: Re: [DynoMotion] Single point threading on the lathe
Not
yet. I recently discovered that Mach3 implements G76 as a macro called
M1076.m1s that in turn uses G32. So it seems we just need to implement
G32.
Yes
to use our controller you must be able to modify a C program.
You don't need to be a C programming expert, but you should be able to
read the code and have a vague idea of what it going on to make minor changes.
For
example, the program link below is a C program that does the threading
motion. You would likely need to change the "Zend" to
move other than 50mm or the "Rate" to be other than 5mm
pitch
double
Zstart = 0;
double Zend = 50.0*ZRES;
double Rate = 5.0*ZRES; //
counts/rev
From: Marty Escarcega <escarcega@...>
To: DynoMotion@yahoogroups.com
Sent: Mon, August 9, 2010 7:36:49 PM
Subject: RE: [DynoMotion] Single point threading on the lathe
Thanks Tom. That helps. How would one
test? Do you have a beta version of the software enabled for threading G codes?
To use your hardware does one have to be
versed in programming in C? (I am not)
Marty
From:
DynoMotion@yahoogro ups.com
[mailto:DynoMotion@ yahoogroups. com] On Behalf Of Tom Kerekes
Sent: Monday, August 09, 2010 12:38 PM
To: DynoMotion@yahoogro ups.com
Subject: Re: [DynoMotion] Single point threading on the lathe
We are cutting good multipass threads via a KFlop User
C Program. See the email and video from a User below.
So currently it is possible to do threading performed
by KFlop triggered by an M command in either Mach3 or KMotionCNC. But we
are just beginning to properly integrate it with Mach3 or KMotionCNC.
Here is a plot of captured data showing how the
Lathe Carriage accelerates and synchronizes with the desired spindle
position. This data was captured with a spindle speed of ~360rpm and
cutting a 5mm pitch thread. The plot's horizontal axis is time
(seconds), the vertical axis is z encoder counts (400cnts/mm) , green is
the z axis, purple is the desired z position based on spindle position.
It would be nice if others could test.
Hi Tom,
Yesterday's exercise was very pleasing.
The results are excellent and I have posted a short video a thread that I
cut after our initial tests.
I altered the figures, as you suggested, and the result is a 1.5mm pitch
thread on the nylon rod.
I also did a 1.75mm pitch.
Both are excellent - lead-in is spot on.
The threading video is the last one.
http://www.kumeu. co.nz/hankooklat he/
I will get to posting on the forum :)
From: Marty
Escarcega <escarcega@cox. net>
To: DynoMotion@yahoogro ups.com
Sent: Mon, August 9, 2010 11:32:15 AM
Subject: [DynoMotion] Single point threading on the lathe
How close are you to implementing single point threading on the lathe?
Either with your software or ultimately the Mach III plug in.
Thank you!.
Marty
|
|
| Group: DynoMotion |
Message: 574 |
From: Tom Kerekes |
Date: 8/11/2010 |
| Subject: Re: Single point threading on the lathe |
Hi Marty,
The compiler and editor comes built-in. See:
But yes you should wait until we get it fully integrated to Mach3.
Regards
TK
| | | | | | | | | | | |